﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

// 声音
public class AudioMgr : Singleton<AudioMgr>
{
    Transform _root;
    AudioSource _audio;

    public AudioMgr()
    {
        _root = new GameObject("AudioEngine").transform;
        GameObject.DontDestroyOnLoad(_root.gameObject);
        _audio = _root.gameObject.AddComponent<AudioSource>();

        _audio.playOnAwake = false;
    }

    public void Init()
    {
        
    }
}

